package com.xiaoshuidi.cloud.module.rooms.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xiaoshuidi.cloud.framework.common.pojo.PageResult;
import com.xiaoshuidi.cloud.module.rooms.controller.admin.roomequipmentcategory.vo.*;
import com.xiaoshuidi.cloud.module.rooms.pojo.EquipmentCategory;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  资产类别表
 * </p>
 *
 * @author author
 * @since 2023-05-18
 */
public interface IRoomEquipmentCategoryService {

    PageResult<EquipmentCategoryPageResp> pageQuery(EquipmentCategoryPageReqVO reqVO);

    Long createEquipmentCategory(EquipmentCategoryCreateReqVo createReqVO);

    void updateEquipmentCategory(EquipmentCategoryUpdateReqVo updateReqVO);

    EquipmentCategory getEquipmentCategory(Long id);

    void deleteEquipmentCategory(Long id);

    List<EquipmentCategoryTreeResp> getTreeList(Long parentId);

    List<Map<String, Object>> getZcList();

    List<EquipmentCategoryPageResp> listRecords();
}
